<template>
    <div>
        <!-- <h1>Main</h1> -->
        <el-container>
            <el-aside width="auto">
                <CommonAside/>
            </el-aside>
            <el-container>
                <el-header>
                    <CommonHeader/>
                </el-header>
                <el-main>
                    <router-view></router-view>
                </el-main>
            </el-container>
        </el-container>
    </div>
</template>

<script>
import CommonAside from '../components/CommonAside.vue';
import CommonHeader from '../components/CommonHeader.vue'
export default {
    name:'Main',
    data(){
        return{

        }
    },
    components:{
        CommonAside,
        CommonHeader
    }
}
</script>

<style scoped>
.el-header{
    padding:0
}
</style>